import { createWebHistory, createWebHashHistory, createRouter } from 'vue-router'
const routes = [
    {
        path: '/',
        name: 'hom',
        component: () => import("../weidata/home1.vue")
    },
    {
        path: '/hom',
        name: 'hom2',
        component: () => import("../weidata/home2.vue")
    }
]
const router = createRouter({
    history: createWebHashHistory(),
    routes,
})
export default router
